<template>
	<view class="data-title-wrap">
		<image class="title-logo" src="/static/data/title-logo.png" mode=""></image>
		<text class="today-text">{{ title }}</text>
	</view>
</template>

<script setup>
defineProps({
	title: {
		type: String,
		default: '标题'
	}
})
</script>

<style lang="scss" scoped>
.data-title-wrap {
	width: 100%;
	height: 90rpx;
	display: flex;
	align-items: center;
	
	.title-logo {
		width: 30rpx;
		height: 30rpx;
		margin-right: 18rpx;
	}
	
	.today-text {
		font-weight: 400;
		font-size: 30rpx;
		color: #fff;
	}
}
</style>